package com.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//http://127.0.0.1:7001/actuator/bus-refresh
@EnableEurekaClient
@EnableConfigServer
@SpringBootApplication(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
public class BootConfigCenter {

    public static void main(String[] args) {
        SpringApplication.run(BootConfigCenter.class);
    }
}
